<?php
namespace app\controllers;
use yii\web\Controller;
class HomeController extends Controller{
	public  $layout="mylayout";
// 	public  $layout=false;
	public function actionIndex(){  
	return $this->render('index');
	}
	public function actionIndex2(){
		return $this->renderPartial('index');
	}
}